﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace GetCar
{
    public abstract class Car
    {
        protected String Facility { get; set; }
        protected String Motor { get; set; }
        protected double DimensionLength { get; set; }
        protected double DimensionWidth { get; set; }

        protected String Colour { get; set; }
        protected String Transmission { get; set; }

        public abstract String GetCarType();

        public String GetFacility()
        {
            return Facility;
        }

        public String GetMoto()
        {
            return Motor;
        }

        public double GetDimensionLength()
        {
            return DimensionLength;
        }

        public double GetDimensionWidth()
        {
            return DimensionWidth;
        }

        public String GetColour()
        {
            return Colour;
        }

        public String GetTransmission()
        {
            return Transmission;
        }
    }
}
